﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reactive.Linq;
using Vroom.TableListener.Utils;

namespace Vroom.Test.Misc
{
	[TestClass]
	public class RxTests
	{
		[TestMethod]
		public void SampleRx()
		{
			var source = Observable.Range(0, 5);
			source.Select(i => i + 3)
			.Dump("+3");

			//Observable.Interval(TimeSpan.FromSeconds(1))
			//		.Take(3)
			//		.Timestamp()
			//		.Dump("TimeStamp");
		}
	}
}
